package com.android.aishangauction.model.group;

/**
 * Created by Administrator on 2016/10/25.
 */

public class MainNewOrderMsgData {

    @Override
    public String toString() {
        return "MainNewOrderMsgData{" +
                "data=" + data +
                ", flag=" + flag +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                ", time=" + time +
                '}';
    }

    /**
     * id : 231
     * avatar : http://pin.lnest.cc/upload/photo.gif
     * message : 1秒前，150****8201成功开团，等你来拼！
     */

    private DataBean data;
    /**
     * data : {"id":231,"avatar":"http://pin.lnest.cc/upload/photo.gif","message":"1秒前，150****8201成功开团，等你来拼！"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1477385526
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private int id;

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", avatar='" + avatar + '\'' +
                    ", message='" + message + '\'' +
                    '}';
        }

        private String avatar;
        private String message;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }
}
